#include "sessionfactory.h"
#include "session.h"
#include "userhandler.h"


Session *SessionFactory::createSession(int session_id, UserHandler *handler)
{
    if(handler == NULL)
    {

        return (Session*)0;
    }

    return new Session(session_id, handler);
}
